package com.bosssoft.entity.po;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 项昊天
 * @create 2021/8/17 16:41
 */
@ApiModel(value="com-bosssoft-entity-po-FibBank")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "fib_bank")
public class FibBankPO implements Serializable {
    /**
     * 银行id
     */
    @TableId(value = "bank_id", type = IdType.ASSIGN_ID)
    @ApiModelProperty(value="银行id")
    private Long bankId;

    /**
     * 银行登录账号
     */
    @TableField(value = "bank_username")
    @ApiModelProperty(value="银行登录账号")
    private String bankUsername;

    /**
     * 银行登录密码
     */
    @TableField(value = "bank_password")
    @ApiModelProperty(value="银行登录密码")
    private String bankPassword;

    /**
     * 银行名称
     */
    @TableField(value = "bank_name")
    @ApiModelProperty(value="银行名称")
    private String bankName;

    /**
     * 注册人证件号码
     */
    @TableField(value = "bank_card_num")
    @ApiModelProperty(value="注册人证件号码")
    private String bankCardNum;

    /**
     * 电子邮箱号
     */
    @TableField(value = "bank_email")
    @ApiModelProperty(value="电子邮箱号")
    private String bankEmail;

    /**
     * 注册人联系电话
     */
    @TableField(value = "bank_phone")
    @ApiModelProperty(value="注册人联系电话")
    private String bankPhone;

    /**
     * 注册证明材料
     */
    @TableField(value = "bank_material")
    @ApiModelProperty(value="注册证明材料")
    private String bankMaterial;

    /**
     * 备注
     */
    @TableField(value = "bank_note")
    @ApiModelProperty(value="备注")
    private String bankNote;

    /**
     * 创建时间
     */
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    @ApiModelProperty(value="创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value="更新时间")
    private Date updateTime;

    /**
     * 账户状态
     */
    @TableField(value = "deleted")
    @ApiModelProperty(value="账户状态")
    private Byte deleted;

    /**
     * 版本号
     */
    @TableField(value = "version")
    @ApiModelProperty(value="版本号")
    @Version
    private Integer version;

    /**
     * 注册人姓名
     */
    @TableField(value = "create_by")
    @ApiModelProperty(value="注册人姓名")
    private String createBy;

    private static final long serialVersionUID = 1L;
}